/*
 * Copyright (c) 2020-2099 the original author or authors. All rights reserve.
 */
package org.tianyun.cloud.config.console.property;

/**
 * 组件信息
 *
 * @author ebert_chan
 */
public class Component {

    private String namespace;

    private String name;

    private String configurationPrefix;

    public Component(String namespace, String name) {
        this(namespace, name, null);
    }

    public Component(String namespace, String name, String configurationPrefix) {
        this.name = name;
        this.namespace = namespace;
        this.configurationPrefix = configurationPrefix;
    }

    public String getNamespace() {
        return namespace;
    }

    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getConfigurationPrefix() {
        return configurationPrefix;
    }

    public void setConfigurationPrefix(String configurationPrefix) {
        this.configurationPrefix = configurationPrefix;
    }

}
